package bus

type Router struct {
	Name     string   `json:"name"`
	Meta     Meta     `json:"meta"`
	Children []Router ` json:"children"`
}
type Meta struct {
	Title   string   `json:"title"`   //标题
	Access  []string `json:"access"`  //权限码
	Actions []Action `json:"actions"` //操作
}

type Action struct {
	Name   string   `json:"name"`
	Title  string   `json:"title"`
	Access []string `json:"access"`
}
